//
//  ConsoleEmulator.h
//  桥接模式
//
//  Created by slience on 2019/11/13.
//  Copyright © 2019 shehuiren. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum :NSInteger{
    
    kConsoleCommandUp,
    kConsoleCommandDown,
    kConsoleCommandLeft,
    kConsoleCommandRight,
    
    kConsoleCommandSelect,
    kConsoleCommandStart,
    
    kConsoleCommandAction1,
    kConsoleCommandAction2,
    
}ConsoleCommand;

@interface ConsoleEmulator : NSObject
//加载指令
-(void)loadInstructionsForCommand:(ConsoleCommand)command;
//执行指令
-(void)excuteInstructions;

@end

NS_ASSUME_NONNULL_END
